package com.kangfu.db.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

public class LessonPointPrescriptionItemLesson {

    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Integer id;

    /** lesson_prescription.id */
    private Integer prescriptionId;

    /** lesson_prescription_item.id */
    private Integer itemId;

    /** 标题 */
    private String title;

    /** lesson.id,逗号分隔 */
    private String lessonId;

    private List<Integer> lessonIds;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPrescriptionId() {
        return prescriptionId;
    }

    public void setPrescriptionId(Integer prescriptionId) {
        this.prescriptionId = prescriptionId;
    }

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getLessonId() {
        return lessonId;
    }

    public void setLessonId(String lessonId) {
        this.lessonId = lessonId;
    }

    public List<Integer> getLessonIds() {
        return lessonIds;
    }

    public void setLessonIds(List<Integer> lessonIds) {
        this.lessonIds = lessonIds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("prescriptionId", getPrescriptionId())
                .append("itemId", getItemId())
                .append("title", getTitle())
                .append("lessonId", getLessonId())
                .toString();
    }
}
